from graphene import ObjectType, Field, String, Schema

class Query(ObjectType):
    human_by_name = Field(Human, name=String(required=True))

    def resolve_human_by_name(parent, info, name):
        return get_human(name=name)

schema1 = Schema(query=Query)
query_string = """
    query {
        humanByName(name: "Luke Skywalker") {
            firstName
            lastName
        }
    }
"""
result = schema1.execute(query_string)
df = 'dfdf'